package store.dao;

import java.util.List;

public interface IDao<T> {

    void create(T entity);

    T read(Integer id);

    void update(T entity);

    void delete(T entity);

    List<T> readAll();

    T findByField(String fieldName, Object value);
}
